<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>商品分类</title>
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/jquery-easyui-1.4.1/themes/bootstrap/easyui.css">
	    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/jquery-easyui-1.4.1/themes/icon.css">
	    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/jquery-easyui-1.4.1/demo/demo.css">
	    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-easyui-1.4.1/jquery.min.js"></script>
	    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-easyui-1.4.1/jquery.easyui.min.js"></script>
	    
	    
	</head>
	
	<body>
		<table id="commodityClass-table" title="商品类别表数据" class="easyui-datagrid" url="commodityClass_getData.action" toolbar="#commodityClass-toolbar" pagination="true" rownumbers="true" fit="true" fitColumns="true" singleSelect="true">
			<thead>
				<tr>
					<th field="id" width="50">类别编号</th>
					<th field="commodityClassName" width="50">类别名称</th>
					<!-- <th field="parent.id" width="50">父编号</th> -->
					<th field="insertTime" width="50">插入时间</th>
					<th field="lastUpdateTime" width="50">更新时间</th>
				</tr>
			</thead>
		</table>
		<div id="commodityClass-toolbar">
			<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-add" plain="true" id="commodityClass-newObject">新增类别</a>
			<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-edit" plain="true" id="commodityClass-editObject">修改类别</a>
			<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-remove" plain="true" id="commodityClass-destroyObject">删除类别</a>
		</div>
		<div id="commodityClass-dlg" class="easyui-dialog" style="width:400px;height:280px;padding:10px 20px" closed="true" buttons="#commodityClass-dlg-buttons">
			<div class="ftitle">商品类别数据</div>
			<form id="commodityClass_fm" method="post" novalidate>
				<div class="fitem">
	                <label>类别编号:</label>
	                <input name="id" class="easyui-textbox" readonly="readonly" >
	            </div>
				<div class="fitem">
					<label>类型名称：</label>
					<input name="commodityClassName" class="easyui-textbox" required="true">
				</div>
<!-- 				<div class="fitem">
					<label>父编号：</label>
					<input name="parent_id" class="easyui-textbox">
				</div> -->
			</form>
		</div>
		<div id="commodityClass-dlg-buttons">
			<a href="javascript:void(0)" class="easyui-linkbutton c6" iconCls="icon-ok" id="commodityClass-saveObject" style="width:90px">保存</a>
			<a href="javascript:void(0)" class="easyui-linkbutton c6" iconCls="icon-ok" id="commodityClass-modifyObject" style="width:90px">修改</a>
			<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#commodityClass-dlg').dialog('close')" style="width:90px">取消</a>
		</div>
		<style type="text/css">
			#commodityClass_fm{
				margin:0;
				padding:10px 30px;
			}
			.ftitle{
				font-size:14px;
				font-weight:bold;
				padding:5px 0;
				margin-bottom:10px;
				border-bottom:1px solid #ccc;
			}
			.fitem{
				margin-top:10px;
				margin-bottom:5px;
			}
			.fitem label{
				display:inline-block;
				width:80px;
			}
			.fitem input{
				width:160px;
			}
		</style>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/commodityClass/commodityClass.js"></script>
	</body>
</html>